... thumb; android:thumbTextPadding; android:thumbTint; android:thumbTintMode ... width for the switch component. android:switchPadding, Minimum space between ...
Android switch by default takes the width of the track as twice the width of the thumb. You cannot override the width. Hence you need to do one small tweak in ...